﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UIFW;
using UnityEngine.UI;
public class GameOverUIForm : BaseUIForm {

    private enum OverState
    {
        adventurerWin=0,
        adventurerFail=1,
        vampareWin=2,
        vampareFail=3,
        notAll=4
    }
    private OverState overState = OverState.notAll;

    public GameObject textObj;
    Text text;
    Text textIsWin;
    public GameObject textObjIsWin;
    public void Awake()
    {
        CurrentUIType.uiShowType = UIShowType.Normal;
        CurrentUIType.uiShowMode = UIShowMode.HideOther;

        rigisterButtonEvent("BtnReturn",
            p =>
            {


            });
    }

    public void Start()
    {
        text = textObj.GetComponent<Text>();
        textIsWin = textObjIsWin.GetComponent<Text>();

        //advWin.SetActive(false);
        //advFail.SetActive(false);
        //vamWin.SetActive(false);
        //vamFail.SetActive(false);
    }
    public void Update()
    {
        
    }

    

}
